package com.community.body.service;

import com.community.body.domain.ZyOwnerRoomRecord;
import com.community.body.dto.RecordDTO;

import java.util.List;


/**
 * 房屋绑定记录 Service接口
 * 
 * @author community
 * @date 2024-04-12
 */
public interface IZyOwnerRoomRecordService 
{
    /**
     * 查询房屋绑定记录 
     * 
     * @param recordId 房屋绑定记录 主键
     * @return 房屋绑定记录 
     */
    public ZyOwnerRoomRecord selectZyOwnerRoomRecordByRecordId(Long recordId);

    /**
     * 查询房屋绑定记录 列表
     * 
     * @param zyOwnerRoomRecord 房屋绑定记录 
     * @return 房屋绑定记录 集合
     */
    public List<RecordDTO> selectZyOwnerRoomRecordList(ZyOwnerRoomRecord zyOwnerRoomRecord);

    /**
     * 新增房屋绑定记录 
     * 
     * @param zyOwnerRoomRecord 房屋绑定记录 
     * @return 结果
     */
    public int insertZyOwnerRoomRecord(ZyOwnerRoomRecord zyOwnerRoomRecord);

    /**
     * 修改房屋绑定记录 
     * 
     * @param zyOwnerRoomRecord 房屋绑定记录 
     * @return 结果
     */
    public int updateZyOwnerRoomRecord(ZyOwnerRoomRecord zyOwnerRoomRecord);

    /**
     * 批量删除房屋绑定记录 
     * 
     * @param recordIds 需要删除的房屋绑定记录 主键集合
     * @return 结果
     */
    public int deleteZyOwnerRoomRecordByRecordIds(Long[] recordIds);

    /**
     * 删除房屋绑定记录 信息
     * 
     * @param recordId 房屋绑定记录 主键
     * @return 结果
     */
    public int deleteZyOwnerRoomRecordByRecordId(Long recordId);

    int insertZyOwnerRoomRecord1(ZyOwnerRoomRecord zyOwnerRoomRecord);
}
